#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import threading
local_school = threading.local()
def process_stu():
    std = local_school.student
    print('Hello,%s(in %s)' % (std,threading.current_thread().name))
def process_thread(name):
    local_school.student = name
    process_stu()
t1 = threading.Thread(target = process_thread,args=('Alice',),name = 'Thread_A')
t2 = threading.Thread(target = process_thread,args=('Bob',),name = 'Thread_B')
t1.start()
t2.start()
t1.join()
t2.join()
